<include file="__THEME__/header" />
<link rel="stylesheet" href="../Public/event.css" type="text/css" media="screen" charset="utf-8" />
<script type="text/javascript" src="../Public/js/event.js"></script>
<link href="__PUBLIC__/js/pagination/pagination.css" rel="stylesheet" type="text/css" />
<div class="content"><!-- 内容 begin  -->
  <include file="__THEME__/apps" />
  <div class="main"><!-- 画布 begin  -->
    <div class=page_title> <!-- page_title begin -->
      <h2><img src="{$APPINFO['APP_ICON']}" />成员-{$title}</h2>
    <div class="c"></div>
</div><!-- page_title end -->
    <div class="tab-menu">
      <!-- 切换标签 begin  -->
      <ul>
        <li><a href="__URL__/eventDetail/id/{$id}/uid/{$uid}"><span>活动</span></a></li>
        <li><a href="__URL__/member/id/{$id}" class="on"><span>成员</span></a></li>
        <li><a href="__URL__/photos/id/{$id}/uid/{$uid}"><span>照片</span></a></li>
      </ul>
    </div>
    <!-- 切换标签 end  -->
      <div class="MenuSub">
        <a href="__URL__/member/id/{$id}" <php> if (!isset( $_GET['action'] )) {echo "class='fB'";}else{echo "class='cGray'";}</php>>全部成员</a>┊ 
		
		<a href="__URL__/member/id/{$id}/action/join" <php> if (isset( $_GET['action'] ) && 'join' == $_GET['action']) {echo "class='fB'";}else{echo "class='cGray'";}</php>>{$joinCount}人参加</a>┊ 
		
		<a href="__URL__/member/id/{$id}/action/att" <php> if (isset( $_GET['action'] ) && 'att' == $_GET['action']) {echo "class='fB'";}else{echo "class='cGray'";}</php>>{$attentionCount}人关注</a><?php if( $uid == $guest ){ ?>┊ 
		
		<a href="__URL__/member/id/{$id}/action/verify" <php> if (isset( $_GET['action'] ) && 'verify' == $_GET['action']) {echo "class='fB'";}else{echo "class='cGray'";}</php>>{$verifyCount}人待审核</a><?php }?>

        </div>
		<div class="flist" style="overflow:hidden;">
        <ul>
          <volist name="data" id="vo">
            <li class="bx1" onmouseover="this.className='bx2'" onmouseout="this.className='bx1'">
            <div class="left" style="width: 20%;"><span class="headpic50"><a href="__TS__/space/{$vo['uid']}" class="tips" rel="__TS__/Index/userInfo/uid/{$vo['uid']}" ><img src="{$vo['uid']|getUserFace}" /></a></span></div>
            <div class="left" style="width: 80%;">
              
              <h3>
               <div class="right fn f12px">
              <?php if( 'admin' != $vo['action'] && $userId == $vo['uid'] ){ ?>
              <a  href="javascript:adminDelAction( {$id},{$vo['uid']},'{$vo['action']}',{$optsId});">删除成员</a>
              
              <?php } ?>
                <?php if( isset( $verifyCount ) && $vo['status'] == 0 ){ $userId = $vo['id'];?><a href="javascript:agree( {$userId},{$id},{$uid});">同意申请</a><?php }?>
              </div>
                <a href="__TS__/space/{$vo['uid']}"><strong>{$vo['name']}</strong></a><span class="f12px fn cRed">（{$vo['role']}）</span></h3>
              <?php if( $uid === $guest ){ ?>
              <p><span class="cGray2">联系方式：</span><?php echo $vo['contact'] ?></p>
              <?php } ?>
            </div>
            </li>
          </volist>
          <div class="c"></div>
        </ul>
        <!-- fphotolist end  -->
        <div style="height:10px;"></div>
        <div id="Pagination" class="pagination">{$html}</div>
   
    </div>
   </div><!-- 右侧内容 end  -->
  <div class="c"></div>
  </div><!-- 内容 end -->
  <include file="__THEME__/footer" />

